﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using log4net;
using FJASPX.Service;
using NHibernate.Criterion;
using PlugNT.Common;
using FJASPX.Framwork.UI;

namespace PlugNT.Cms.Web.Member.Buy
{
    public partial class Default : GridPageBase<FJASPX.Domain.Buy>
    {
        public IBuyService iBuyService { get; set; }

        #region "属性"
        public override string PowerCode
        {
            get { throw new NotImplementedException(); }
        }
        #endregion

        #region Methods方法

        protected override bool InitPage()
        {
            this.iRepository = iBuyService;
            this.win_BEdit = this.win_Edit;
            this.win_BSearch = this.win_Search;
            this.gr_Base = this.gr_Main;
            this.btn_BAdd = this.btn_Add;
            this.btn_BDelete = this.btn_Delete;
            this.ddl_BPageSize = this.ddl_PageSize;
            this.ddl_BSearch = this.ddl_Search;
            this.ttb_BSearch = this.ttb_Search;
            this.btn_BSearch = this.btn_Search;
            this.tir_BMain = this.tir_Main;
            this.EnableAdd = true;
            this.EnableEdit = true;
            this.EnableDelete = true;
            this.EnableSeach = false;
            return true;
        }

        #endregion

        #region Events事件
        protected void tree_Main_NodeCommand(Object sender, ExtAspNet.TreeCommandEventArgs e)
        {

        }

        #endregion
    }
}